package com.jic.manager.service;

import java.lang.Long;
import java.util.List;

import com.jic.common.base.vo.Page;
import com.jic.common.base.vo.PageResult;
import com.jic.common.base.vo.RestResult;
import com.jic.manager.entity.Certificate;
import com.jic.manager.request.CertificateRequest;

/**
* 资质文件表
* @author : 
* @email : 
* @since : 2020-02-26 09:41:21
* @version : v1.0.0
*/
public interface CertificateService {

    long insert(Certificate certificate);

    long delete(Long id);

    long update(Certificate certificate);

    Certificate queryByPrimaryKey(Long id);

    List<Certificate> query(Certificate certificate);

    PageResult<Certificate> queryPage(Certificate certificate, Page pageQuery);

    RestResult<String> editCertificateInfo(Certificate certificate);

    RestResult deleteCertificateInfo(Certificate certificate);

    void deleteListByTypeAndOrgId(Certificate certificate);

    void insertMCertificateList(List<CertificateRequest> mCertificateVos);
}